package com.ten.mall.vo.weixin;

public class WeChatPay {
		private  String appid;//公众账号Id
		private String mch_id;//商户好
		private String nonce_str;//随机字符串
		private String sign;//签名
		private String body;//商品描述
		private String out_trade_no;//订单号
		private int total_fee;//总金额
		private String spbill_create_ip;//终端ip
		private String notify_url;//֪ͨ通知地址ַ
		private String  trade_type;//交易类型
		private String openid;
		public String getAppid() {
			return appid;
		}
		public void setAppid(String appid) {
			this.appid = appid;
		}
		public String getMch_id() {
			return mch_id;
		}
		public void setMch_id(String mch_id) {
			this.mch_id = mch_id;
		}
		public String getNonce_str() {
			return nonce_str;
		}
		public void setNonce_str(String nonce_str) {
			this.nonce_str = nonce_str;
		}
		public String getSign() {
			return sign;
		}
		public void setSign(String sign) {
			this.sign = sign;
		}
		public String getBody() {
			return body;
		}
		public void setBody(String body) {
			this.body = body;
		}
		public String getOut_trade_no() {
			return out_trade_no;
		}
		public void setOut_trade_no(String out_trade_no) {
			this.out_trade_no = out_trade_no;
		}
		public int getTotal_fee() {
			return total_fee;
		}
		public void setTotal_fee(int total_fee) {
			this.total_fee = total_fee;
		}
		public String getSpbill_create_ip() {
			return spbill_create_ip;
		}
		public void setSpbill_create_ip(String spbill_create_ip) {
			this.spbill_create_ip = spbill_create_ip;
		}
		public String getNotify_url() {
			return notify_url;
		}
		public void setNotify_url(String notify_url) {
			this.notify_url = notify_url;
		}
		public String getTrade_type() {
			return trade_type;
		}
		public void setTrade_type(String trade_type) {
			this.trade_type = trade_type;
		}
		public String getOpenid() {
			return openid;
		}
		public void setOpenid(String openid) {
			this.openid = openid;
		}
		
		public String toString() {
			return "Pay [appid=" + appid + ", mch_id=" + mch_id + ", nonce_str="
					+ nonce_str + ", sign=" + sign + ", body=" + body
					+ ", out_trade_no=" + out_trade_no + ", total_fee=" + total_fee
					+ ", spbill_create_ip=" + spbill_create_ip + ", notify_url="
					+ notify_url + ", trade_type=" + trade_type + ", openid="
					+ openid + "]";
		}
		public WeChatPay(String appid, String mch_id, String nonce_str, String sign,
				String body, String out_trade_no, int total_fee,
				String spbill_create_ip, String notify_url, String trade_type,
				String openid) {
		
			this.appid = appid;
			this.mch_id = mch_id;
			this.nonce_str = nonce_str;
			this.sign = sign;
			this.body = body;
			this.out_trade_no = out_trade_no;
			this.total_fee = total_fee;
			this.spbill_create_ip = spbill_create_ip;
			this.notify_url = notify_url;
			this.trade_type = trade_type;
			this.openid = openid;
		}
		public WeChatPay() {
		
		}
	}
